package com.igl.talk.android.client.ide.models;/*
 * @author Adam Wieczorek 
 *
 * 12/03/2014
 *
 * All rights reserved.
 */

import java.util.Date;

public class IdeMessageModel {

    private String userName;

    private String message;

    private boolean received;

    private Date date;

    public IdeMessageModel(String userName, String message, boolean received) {
        this.userName = userName;
        this.message = message;
        this.received = received;
        this.date = new Date();
    }

    public IdeMessageModel(String userName, String message, Date date, boolean received) {
        this.userName = userName;
        this.message = message;
        this.received = received;
        this.date = date;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isReceived() {
        return received;
    }

    public void setReceived(boolean received) {
        this.received = received;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}
